// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * TmpAdvertiserInvoices
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "tmp_advertiser_invoices", autoResultMap = true)
@Schema(title = "广告发票临时表")
public class TmpAdvertiserInvoices implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 发票编号
   */
  @TableField(value = "`invoice_id`")
  @Schema(title = "发票编号")
  private String invoiceId;

  /**
   * 付款类型
   */
  @TableField(value = "`payment_method`")
  @Schema(title = "付款类型")
  private String paymentMethod;

  /**
   * 状态
   */
  @TableField(value = "`status`")
  @Schema(title = "状态")
  private String status;

  /**
   * 账单周期开始时间
   */
  @TableField(value = "`from_date`")
  @Schema(title = "账单周期开始时间")
  private java.util.Date fromDate;

  /**
   * 账单周期结束时间
   */
  @TableField(value = "`to_date`")
  @Schema(title = "账单周期结束时间")
  private java.util.Date toDate;

  /**
   * 账单金额
   */
  @TableField(value = "`amount`")
  @Schema(title = "账单金额")
  private java.math.BigDecimal amount;

  /**
   * 币种
   */
  @TableField(value = "`currency`")
  @Schema(title = "币种")
  private String currency;

  /**
   * 开具时间
   */
  @TableField(value = "`invoice_date`")
  @Schema(title = "开具时间")
  private java.util.Date invoiceDate;

  /**
   * 店铺
   */
  @TableField(value = "`sid`")
  @Schema(title = "店铺")
  private Long sid;
}
